/**
* @file common_inner.cpp
*
* Copyright (c) Huawei Technologies Co., Ltd. 2025. All Rights reserved.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/

#include "common_inner.h"

namespace {
bool isCastHasTruncateAttr = false;
}

namespace acl {
void SetCastHasTruncateAttr(const bool hasTruncate)
{
    isCastHasTruncateAttr = hasTruncate;
}

bool GetIfCastHasTruncateAttr()
{
    return isCastHasTruncateAttr;
}
}